home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / polski_aminet / miroslaw_siedlarz / bcc.readme < prev    next >
Text File  |  1981-02-13  |  5KB  |  121 lines

  1. Short:    BCC v3.1 to program MUI/BOOPSI as C++.
  2. Author:   cret@cerber.ii.tuniv.szczecin.pl
  3. Uploader: cret@cerber.ii.tuniv.szczecin.pl
  4. Version:  3.1
  5. Type:     dev/mui
  6.  
  7. I wrote this program because of two reasons:
  8.  
  9. -) to limit boring typing when building up MUI or BOOPSI custom classes,
  10.  
  11. -) to make a source code more readable.
  12.  
  13. Although there was a similar program - MUI2C (v1.7), I didn't like its syntax,
  14. way of associating tag values, one class - only one file, and other limitations.
  15. BCC is free of these disadvantages and provides:
  16.  
  17. -) (NEW!!!) references to the methods and attributes by simple '->' like in
  18. C++. For example:
  19.  
  20.     instead of:    SetAttr( win, MUIA_Window_Open, TRUE, TAG_DONE );
  21.     type just: win->Open = TRUE;
  22.  
  23.     or instead of: DoMethod( list, MUIM_List_GetEntry, 0, &e );
  24.     type: list->GetEntry( 0, &e );
  25.  
  26. -) handles both MUI and BOOPSI classes
  27.  
  28. -) very nice syntax (like C++)
  29.  
  30. -) methods of one class can be placed in many files
  31.  
  32. -) user doesn't care about tag values, they are calculated from tag names
  33. (hashing)
  34.  
  35. -) easy handling parameters that are passed to methods
  36.  
  37. -) <class data> variables accessed as local variables; simple <xx> instead
  38. of data-><xx> (new)
  39.  
  40. -) very convenient handling of OM_SET and OM_GET
  41.  
  42. -) extra tags can be easily passed to the super class when OM_NEW is called
  43.  
  44. -) user can place his stuff in a class' header file
  45.  
  46. -) both public and private classes can be super classes (new)
  47.  
  48. -) C and C++ comments are handled
  49.  
  50. -) also strings are processed correctly (new)
  51.  
  52. -) in case of syntax error, full information (where and why)
  53.  
  54.  
  55. v3.1 (22.6.97)
  56. ----
  57. -) major changes in code for attributes. Now, attributes can be even super.
  58. Attribute parameter doesn't need to be ULONG val or ULONG *store. User can
  59. define name and type of these parameters.
  60. -) bug fixed: attribute parameter name for Get and Init was 'val' instead
  61. of 'value'
  62. -) bug fixed: init attributes were parsed before 'obj' was initialized. So
  63. pointer to 'obj' for all init attributes was invalid.
  64. -) '#define value' is no longer used. It caused problems with mui.h.
  65. -) new switch for class 'selfcreate'
  66. -) if there are both method and dispatcher in the same file, function
  67. for method is 'static'.
  68. -) new 'bccopts' gui v1.1
  69.  
  70.  
  71. ============================= Archive contents =============================
  72.  
  73. Original  Packed Ratio    Date     Time    Name
  74. -------- ------- ----- --------- --------  -------------
  75.     8110    2332 71.2% 22-Jun-97 13:31:20  BCC.info
  76.      795     383 51.8% 19-Jun-97 20:55:00 +.bcc_code
  77.       58      58  0.0% 15-Jun-97 10:52:58 +.bcc_every
  78.       88      88  0.0% 31-May-97 11:05:14 +.bcc_header
  79.       64      64  0.0% 31-May-97 11:05:22 +.bcc_initcl
  80.      855     398 53.4% 22-Jun-97 20:14:10 +.bcc_code
  81.       55      55  0.0% 22-Jun-97 20:14:10 +.bcc_every
  82.      144     115 20.1% 22-Jun-97 20:14:10 +.bcc_header
  83.       88      76 13.6% 22-Jun-97 20:14:10 +.bcc_initcl
  84.     7532    2961 60.6% 12-May-97 17:23:08 +AFD-COPYRIGHT
  85.    52200   21550 58.7% 22-Jun-97 21:58:44 +BCC
  86.    33622   13020 61.2% 22-Jun-97 21:57:42 +BCC.guide
  87.     1619     995 38.5% 22-Jun-97 13:28:46 +BCC.guide.info
  88.     1347     833 38.1% 22-Jun-97 13:30:50 +BCC.info
  89.      725     401 44.6% 06-Jun-97 14:38:26 +bcc.h
  90.      352     226 35.7% 30-May-97 22:07:08 +bcc.lib
  91.      178     148 16.8% 30-May-97 22:03:36 +BCC_DoSuperNew.c
  92.      160     124 22.5% 30-May-97 22:04:48 +BCC_DoSuperNew.o
  93.      150     123 18.0% 30-May-97 22:03:08 +BCC_XGet.c
  94.      148     123 16.8% 30-May-97 22:04:30 +BCC_XGet.o
  95.      308     199 35.3% 30-May-97 22:23:16 +bcc.lib
  96.     7360    4068 44.7% 22-Jun-97 20:27:20 +BCCOpts
  97.     4865    1384 71.5% 22-Jun-97 20:22:50 +App.bc
  98.      452     253 44.0% 12-Jun-97 18:21:42 +App.bh
  99.     1783     665 62.7% 22-Jun-97 13:06:26 +App_lsopts.bc
  100.        8       8  0.0% 22-Jun-97 13:07:20 +BCCOptions
  101.      599     277 53.7% 22-Jun-97 20:22:00 +initcl.c
  102.      137      88 35.7% 22-Jun-97 20:22:00 +initcl.h
  103.      905     446 50.7% 18-Jun-97 22:18:40 +MUI_Main.c
  104.     1070     465 56.5% 09-Jun-97 21:06:42 +Popdir.bc
  105.       51      51  0.0% 09-Jun-97 21:05:12 +Popdir.bh
  106.      308     199 35.3% 22-Jun-97 20:22:18 +SCOPTIONS
  107.      323     178 44.8% 22-Jun-97 13:06:48 +Smakefile
  108.     6531    1592 75.6% 22-Jun-97 19:22:22 +App.bc
  109.      517     270 47.7% 01-Jun-97 12:06:06 +App.bh
  110.     1088     472 56.6% 09-Jun-97 21:33:10 +EJG.bc
  111.       67      67  0.0% 09-May-97 12:43:38 +EJG.bh
  112.      584     276 52.7% 30-May-97 21:37:50 +initcl.c
  113.      134      86 35.8% 30-May-97 21:37:50 +initcl.h
  114.     1020     515 49.5% 08-Jun-97 17:31:34 +MUI_Main.c
  115.       48      48  0.0% 15-Dec-96 19:33:34 +MyPutCh.asm
  116.      255     160 37.2% 22-Jun-97 20:39:16 +SCOPTIONS
  117.      210     140 33.3% 14-May-97 10:48:20 +Smakefile
  118.     2226    1161 47.8% 22-Jun-97 20:51:00 +readme
  119. -------- ------- ----- --------- --------
  120.   139139   57141 58.9% 23-Jun-97 23:06:26   44 files
  121.